from socket import *

HOST = 'localhost'
PORT = 1234
BUFSIZ = 1024
ADDR = (HOST, PORT)

udpCliSock = socket(AF_INET, SOCK_DGRAM)

#data = raw_input('> ')
udpCliSock.sendto("service2.photo.sina.com.cn/show_fpic.php?pic_id=538a9f89t5ec5c7556109&type=orignal /tmp/538a9f89t5ec5c7556109", ADDR)
udpCliSock.close()